package com.sanbi.shield.server.biz.mapping;

import com.sanbi.shield.server.common.bean.bo.UserInfoBO;
import com.sanbi.shield.server.facade.bean.dto.UserInfoDTO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * 用户信息业务Mapping
 *
 * @author XiaoQingqing
 * @since 2024/07/27
 */
@Mapper(componentModel = "spring")
public interface UserInfoBizMapping {

    /**
     * 转换为DTO对象
     *
     * @param boList BO对象
     * @return DTO对象
     */
    List<UserInfoDTO> toDTO(List<UserInfoBO> boList);

}
